import { BaseService, Service, Permission } from '@/cool';

@Service('crm/goods')
export default class extends BaseService {
	@Permission('privilege')
	privilege(params) {
		return this.request({
			url: '/privilege',
			params: {
				...params
			}
		});
	}
	@Permission('uploadPic')
	uploadPic(params) {
		return this.request({
			url: '/uploadPic',
			params: {
				...params
			}
		});
	}
}
